﻿<form action="@Url.Action("Index", "Categories")" method="get">
    <ul class="tabs">
        <li><a href="@Url.Action("Index")" class="@Html.CurrentClassWhen("Index")">List</a></li>
        <li><a href="@Url.Action("Create")" class="@Html.CurrentClassWhen("Create")">Create Category</a></li>
        <li class="search">
            @Html.TextBox("query", null, new { placeholder = "find category" })
            <input type="submit" value="search" />
        </li>
    </ul>
</form>